package org.sdp.pearproject.service;

import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import java.util.List;

/**
 * InterfaceName: DepartmentService
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-15
 * @Version: 1.0
 * Table: pear_department
 * Comment:
 * 部门表
 */
public interface DepartmentService {
    Integer addDepartment(DepartmentAddRequest request) throws Exception;

    Integer updateDepartment(DepartmentUpdateRequest request) throws Exception;

    Integer deleteDepartment(DepartmentDeleteRequest request) throws Exception;

    DepartmentQueryResponse queryDepartment(DepartmentQueryRequest request) throws Exception;

    List<DepartmentQueryResponse> listDepartment(DepartmentQueryRequest request) throws Exception;

    Integer countDepartment(DepartmentQueryRequest request) throws Exception;

    BaseStatResponse statDepartment(DepartmentQueryRequest request) throws Exception;

}
